package com.sinosoft.orderinfo;

import java.util.List;

import com.sinosoft.base.GenericDao;

public interface OrderInfoDao extends GenericDao<OrderInfo, Long> {
	
	
	public OrderInfo saveOrderInfo(OrderInfo o);
	
	public List<OrderInfo> searchOrderInfoListByOrder(String hql);
	
	public OrderInfo getOrderInfoById(String orderid);
	
	public int getOrderInfoCount(String sql);
	
	public List<OrderInfo> getOrderInfoList(OrderInfo orderinfo,int first,int pagesize);
	
	public List<OrderInfo> getOrderListByIds(String sqlstr);
	
	public List<OrderInfo> getOrderinfoListByUsername(String username,String orderids);
	
	public void removeOrderinfo(Long orderid);
}
